<template>
    <div class="BaseModal-container">
        <a-modal :visible="visible" v-bind="$attrs" v-on="$listeners">
            <slot />
            <template slot="footer">
                <slot name="footer"></slot>
            </template>
        </a-modal>
    </div>
</template>

<script>
export default {
    props: {
        visible: {
            type: Boolean,
            default: true
        },
    }

}
</script>

<style lang="less" scoped>
.BaseModal-container {

}
</style>